

//
//  discount.m
//  xiaowanTravel
//
//  Created by wyzcWLB on 16/10/6.
//  Copyright © 2016年 wyzcWLB. All rights reserved.
//

#import "discount.h"

@implementation discount

-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self = [super init]) {
        
        _title = dict[@"title"];
        _pic = dict[@"pic"];
        _url = dict[@"url"];
        _departureTime = dict[@"departureTime"];
        _price =dict[@"price"];
        
    }
    return self;
}
+(instancetype)discountWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}
@end
